﻿using System.Web;
using System.Web.Mvc;
using Huirui.Cavan.Presentation.Seedwork;

namespace Huirui.Cavan.Presentation.Admin
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            //filters.Add(new HandleErrorAttribute());
            filters.Add(new AccessFilterAttribute());
            filters.Add(new UserDescriptionAttribute());
            filters.Add(new ExceptionHandlerAttribute());
            filters.Add(new ActionLoggerAttribute());
        }
    }
}